<script>
	export default {
		globalData: {
			openid: ''
		},
		onLaunch: function() {
			console.log('App Launch')
			console.log(window.location.href)
			let par = Object.fromEntries(new URLSearchParams(window.location.search));
			
			console.log(par)
			
			if(par.type == 0){
				uni.reLaunch({
					url:"/pages/index/index2"
				})
			}
		},
		onShow: function() {
			console.log('App Show')
		
			



		},

		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>

	
	
	/*每个页面公共css */
	@import "style/main.css";

	uni-page-wrapper {
		height: calc(100% - 50px - env(safe-area-inset-bottom)) !important;
	}


	page {
		background-color: #000;
		width: 100%;
		height: 100vh;
		/* height:100%; */
		overflow: auto;
		/* min-height: 1476rpx; */
		overflow: auto;
		color: #454545;
		text-align: center;
	}

	.main-bgH {
		width: 100%;
		height: 100%;
		padding: 5vh 50rpx 0;
		position: relative;
		    background-image: url('https://data-h5.oss-cn-shenzhen.aliyuncs.com/yang/2025/0311/btsh/bj3.png');
		    background-repeat: no-repeat;
		    background-size: 100% 100%;

	}
/* 	.main-bgH {
		width: 100%;
		height: 100%;
		padding: 5vh 0 0;
		position: relative;
		background: url('https://data-h5.oss-cn-shenzhen.aliyuncs.com/yang/2025/0311/btsh/bj3.png');
		background-repeat: no-repeat;
		background-size: 100% 100%;
	} */

	.form {
		z-index: 2;
	}

	/* 主题文本颜色 */
	.text-color {
		color: #1FE3B9;
	}

	.text-BD {
		color: #BDBDBD;
	}

	.color-white4 {
		color: rgba(255, 255, 255, 0.4);
	}

	.pagebg {
		width: 100vw;
		min-height: 100vh;
	}

	.m-l-26 {
		margin-left: 26rpx;
	}

	.ceshi {
		width: 200rpx;
		height: 100rpx;
		background: #14B6F9;
		line-height: 100rpx;
		text-align: center;
		margin: 0 auto;
		color: #fff;
	}

	.ab-center {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		text-align: center;
	}

	.mask {
		width: 100%;
		height: 100%;
		position: fixed;
		background: transparent;
		background-color: rgba(0, 0, 0, 0.7);
		z-index: 1001;
		top: 0;
		left: 0;
	}

	.inline-block {
		display: inline-block;
	}


	.logn-btn {
		position: absolute;
		bottom: 70rpx;
		width: 321rpx;
		height: 85rpx;
		left: calc(50% - 158rpx);
		z-index: 2;
	}

	.bg-top {
		width: 100vw;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1;
	}

	.bg-bottom {
		width: 100vw;
		position: fixed;
		right: 0;
		bottom: 0;
		z-index: 1;
	}

	/* App.vue 或 common.css */
	/* @font-face {
	  font-family: 'SourceHanSans';
	  src: url('https://data-h5.oss-cn-shenzhen.aliyuncs.com/yang/2025/0311/SourceHanSans-Light.ttf') format('truetype');
	  
	  font-weight: normal;
	  font-style: normal;
	} */
	
	@font-face {
	  font-family: 'SourceHanSans'; /* 自定义字体名称 */
	  src: url('@/static/SourceHanSansCN-Light.otf'); /* OTF 字体文件路径 */
	}
		
	.SourceHanSans{
		font-family: 'SourceHanSans';
	}
	/*每个页面公共css */
</style>